package com.starter.home.service;

import com.starter.home.domain.entity.ServeType;
import com.baomidou.mybatisplus.extension.service.IService;
import com.starter.home.domain.vo.TypeVO;
import com.starter.home.util.OptionVO;

import java.util.List;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author
 * @since 2020-04-30
 */
public interface IServeTypeService extends IService<ServeType> {

    List<ServeType> getParentIds();

    List<TypeVO> getList();

    List<ServeType> getChildrenById(Integer id);

    void deleteById(Integer id);

    List<OptionVO> getChildren();

    ServeType findById(Integer ctype);
}
